package com.sicau.smarttraceplatform.common.myenum;

/**
 * @author sxt
 * @version : 1.0.0
 */
public enum UserType {

    ADMIN("管理员", "ROLE_ADMIN",0),
    USER("普通用户","ROLE_USER", 1);

    UserType(String type, String userIns, Integer typeCode) {
        this.type = type;
        this.userIns = userIns;
        this.typeCode = typeCode;
    }

    /**
     * 用户类型
     */
    private String type;

    /**
     * 用户类型标识
     */
    private String userIns;

    /**
     * 用户类型码
     */
    private Integer typeCode;

    public String getType() {
        return type;
    }

    public Integer getTypeCode() {
        return typeCode;
    }

    public String getUserIns() {
        return userIns;
    }
}
